pp108 : Building a Condition Expression

Building a Condition Expression

This topic describes the procedure to build a condition expression.


This task is performed while adding a condition to a decision table and using the condition expression.

  1. On the Condition Template tab, select the appropriate starting parenthesis for the expression from the ( column. The starting parenthesis for an expression depends upon the number of sub-expressions that will be evaluated within an expression.
  2. In Column One of the Expression Grid, click the cell, and do one of the following:
    • To use a business object as the operand, drag the required attribute of the business object from the Business Object section into the Column One cell.
    • To have the user input the parameter to the operand while designing the rule, do the following:
      • Type the variable name preceded by a colon in the Column One cell. For example-
        :OrderID
      • Press tab or click anywhere outside the cell. The parameter details are displayed in the Parameter Details table.
      • Type the appropriate label for the parameter in the Description text box. This label is displayed to the user when designing the rule.
      • Select the type of parameter the user should use from the Parameter Type list box.
  3. Click the Operator cell, select the required function from the Function Library, and drag the required operator into the Operator cell.
  4. Click the Column Two cell and repeat steps 2 and 3 specify the second operand.
  5. Select the closing parenthesis for the expression from the ) column to close the first expression.
  6. Select And or Or from the And/Or cell if you want to add another expression. Ensure that the number of opening and closing parantheses match.
  7. Click on the expression grid to add more condition expressions. You can see the expression as you build, in the Current Expression box above the Parameter Details section.

    The condition expression is built.

Related tasks

Creating a Condition Template